package com.lagou.repository;

import com.lagou.bean.Resume;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @ClassName: ResumeRepository
 * @Description:
 * @Author: qjc
 * @Date: 2021/11/17 11:36 上午
 */
public interface ResumeRepository extends MongoRepository<Resume, String> {

    List<Resume> findByNameEquals(String name);

    List<Resume> findByNameAndExpectSalary(String name, double expectSalary);

}
